home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000076_fdc@panix.com_Fri Feb 16 15:52:43 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
4KB
Path: reader2.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL Solaris 9 compile errors
Date: Fri, 16 Feb 2007 20:52:32 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 73
Message-ID: <slrnetc6ch.8ae.fdc@panix1.panix.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com> <slrnet95nd.1b6.fdc@panix2.panix.com> <1171585254.113397.40400@v33g2000cwv.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix1.panix.com
X-Trace: reader2.panix.com 1171659152 3720 166.84.1.1 (16 Feb 2007 20:52:32 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Fri, 16 Feb 2007 20:52:32 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15647
On 2007-02-16, Gary Quiring <gquiring@gmail.com> wrote:
: On Feb 15, 12:22 pm, Frank da Cruz <f...@panix.com> wrote:
:> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
:> : On Feb 14, 10:47 am, Frank da Cruz <f...@panix.com> wrote:
:> :> On 2007-02-14, Gary Quiring <gquir...@gmail.com> wrote:
:> :> : I am trying to compile kermit 8.0.211 with Solaris 9 (Sparc). My
:> :> : openssl ver is 0.9.8d
:> ....
:> :
:> I have Solaris 9 here, with OpenSSL 0.9.8d, and "It Works For Me" (TM).
:>
:> To build C-Kermit with OpenSSL, you need to use one of the appropriate
:> makefile targets (which you did), plus:
:>
:> . If the OpenSSL version is 0.9.7 or greater (a point where the API
:> changed), you have to add -DOPENSSL_097 to CFLAGS (which can be
:> done as shown above);
:>
:> . If the OpenSSL header files are not in /usr/local/ssl/include, you
:> have to change or override the definitions of "prefix" or "sslroot"
:> or SSLINCL in the makefile.
:>
:> . If the OpenSSL libraries are not in /usr/local/ssl/lib, you
:> have to change or override the definitions of "prefix" or "sslroot"
:> or SSLLIB in the makefile.
:>
:> At Columbia, we have to do all these things, because around here (or maybe
:> in Solaris in general) "/usr/local" is "deprecated": Here is the procedure:
:>
:> export SSLINC=-I/opt/openssl-0.9.8d/include
:> export SSLLIB=-L/opt/openssl-0.9.8d/lib
:> export "KFLAGS=-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
:> make -e solaris9g+openssl+shadow+pam+zlib
:>
:> - Frank
:
: Still no luck. My SSL location is /usr/local/ssl. I set the
: following:
:
: export SSLINC="-l/usr/local/ssl/include"
: export SSLLIB="-L/usr/local/ssl/lib"
:
Well, this should be unnecessary because it's the default.
: export KFLAGS="-DOPENSSL_097 -DCK_FORWARD_X -D_FILE_OFFSET_BITS=64"
:
: Why is ck_ssl.h hardcoded for openssl directory? I made a link for
: openssl -> ssl in /usr/local but it still didn't work.
:
See below. Not to get off on a tangent, but after decades already of dealing
with the headaches of dealing with hardwired Unix (or DOS, or Windows, for
that matter) directory names that are constantly changing makes me ever more
nostalgic for the the "logical name" concept that was so effective in TOPS-10,
TOPS-20, and to this day in VMS.
: gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX (etc etc...)
: ckcmai.c
: In file included from ckcmai.c:607:
: ck_ssl.h:35:26: openssl/comp.h: No such file or directory
: ck_ssl.h:42:25: openssl/des.h: No such file or directory
: ck_ssl.h:43:25: openssl/ssl.h: No such file or directory
: (etc etc)
:
Let's see. You've told the compiler to look for include files in
/usr/local/ssl/include. That directory should contain an openssl directory,
which, in turn, contains all the .h files. If so, the build should work for
you if you just do it like this (since your ssl tree is already in the
default location):
make KFLAGS=-DOPENSSL_097 solaris9g+openssl+shadow+pam+zlib
- Frank